package com.quanyan.place.client;


import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.place.entity.apireq.ReqAppUserSearchVo;
import com.quanyan.place.entity.apireq.ReqPlaceOrderDetailVo;
import com.quanyan.place.entity.apireq.ReqPlaceOrderVo;
import com.quanyan.place.entity.apiresp.RespBizPlaceBaseInfo;
import com.quanyan.place.entity.apiresp.RespBizPlaceOrderInfo;
import com.quanyan.place.request.ReqSearchVo;

import java.util.List;

/**
 * Created by zhaohui on 2016/5/31.
 * 场地商家端
 */
public interface BizPlaceClient<T> {

    /**
     * 选择场馆
     * @param reqAppUserSearchVo
     * @return
     */
    PageObj<List<RespBizPlaceBaseInfo>> choosePlace(ReqAppUserSearchVo reqAppUserSearchVo);


    /**
     * 场馆订单列表
     * @param reqPlaceOrderVo
     * @return
     */
    PageObj<List<RespBizPlaceOrderInfo>> placeOrder(ReqPlaceOrderVo reqPlaceOrderVo);

    /**
     * 订单详情
     * @param reqPlaceOrderDetailVo
     * @return
     */
    APIResponse<RespBizPlaceOrderInfo> placeOrderDetail(ReqPlaceOrderDetailVo reqPlaceOrderDetailVo);


    /**
     * app端订单详情
     * @param reqPlaceOrderDetailVo
     * @return
     */
    APIResponse<RespBizPlaceOrderInfo> placeOrderDetailClient(ReqPlaceOrderDetailVo reqPlaceOrderDetailVo);


}
